.class Les/xf0$a;
.super Ljava/lang/Object;
.source "WrapCharDialog.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/xf0;->c()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Les/xf0;


# direct methods
.method constructor <init>(Les/xf0;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/xf0$a;->a:Les/xf0;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 2

    .line 1
    invoke-interface {p1}, Landroid/content/DialogInterface;->dismiss()V

    .line 2
    iget-object p1, p0, Les/xf0$a;->a:Les/xf0;

    invoke-static {p1}, Les/xf0;->a(Les/xf0;)I

    move-result p1

    if-gez p1, :cond_0

    return-void

    :cond_0
    const/4 p2, 0x2

    new-array p2, p2, [Ljava/lang/String;

    const/4 v0, 0x0

    const-string v1, "\n"

    aput-object v1, p2, v0

    const/4 v0, 0x1

    const-string v1, "\r\n"

    aput-object v1, p2, v0

    .line 3
    new-instance v0, Lcom/jecelyin/editor/v2/common/Command;

    sget-object v1, Lcom/jecelyin/editor/v2/common/Command$CommandEnum;->CONVERT_WRAP_CHAR:Lcom/jecelyin/editor/v2/common/Command$CommandEnum;

    invoke-direct {v0, v1}, Lcom/jecelyin/editor/v2/common/Command;-><init>(Lcom/jecelyin/editor/v2/common/Command$CommandEnum;)V

    .line 4
    aget-object p1, p2, p1

    iput-object p1, v0, Lcom/jecelyin/editor/v2/common/Command;->c:Ljava/lang/Object;

    .line 5
    iget-object p1, p0, Les/xf0$a;->a:Les/xf0;

    invoke-virtual {p1}, Les/nf0;->b()Lcom/jecelyin/editor/v2/ui/JeEditorActivity;

    move-result-object p1

    invoke-virtual {p1, v0}, Lcom/jecelyin/editor/v2/ui/JeEditorActivity;->b(Lcom/jecelyin/editor/v2/common/Command;)V

    return-void
.end method
